package com.ljy.my_study.java事件机制;

import java.util.EventObject;

/** 
* @author James
* @date 2018年8月25日 
*/
public class MyEvent extends EventObject{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private int sourceStatus;
	
	public MyEvent(Source source) {
		super(source);
		this.sourceStatus=source.getStatus();
	}
	
	public int getSourceStatus() {
		return this.sourceStatus;
	}
}
